package fun.ticsmyc.designPattern;

/**
 * 饿单例
 * @author Ticsmyc
 * @date 2020-03-25 21:47
 */
public class Singleton {

    private static final Singleton INSTANCE = new Singleton();

    private Singleton(){

    }

    public static Singleton getInstance(){
        return INSTANCE;
    }

}
